package cn.java75.gardon;
import java.util.*;
/**
 * @author oldliu
 * @since 1.0
 */
public class Park {
    private String name;
    private String addr;
    //数组，set,等同
    private List<String> flowers;
    private Map<String,String> emps;

    public void show(){
        System.out.println("这个花园交"+name+",地址在"+addr);
        System.out.println("培育的花卉有："+flowers);
        System.out.println("员工有："+emps);
    }

    public void setName(String name) {
        this.name = name;
    }

    public void setAddr(String addr) {
        this.addr = addr;
    }

    public void setFlowers(List<String> flowers) {
        this.flowers = flowers;
    }

    public void setEmps(Map<String, String> emps) {
        this.emps = emps;
    }
}
